home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 127 / PC Guia 127.iso / Software / Utils / GParted Live CD / Bin / gparted-livecd-0.2.2.iso / fake / needwrite / etc / rc.d / init.d / halt < prev    next >
Encoding:
Text File  |  2006-01-27  |  306 b   |  21 lines

  1. #!/bin/sh
  2. # Begin $rc_base/init.d/halt - Halt Script
  3.  
  4. # Written by Gerard Beekmans  - gerard@linuxfromscratch.org
  5.  
  6. . /etc/sysconfig/rc
  7. . $rc_functions
  8.  
  9. case "$1" in
  10.     stop)
  11.         halt -d -f -i -p
  12.         ;;
  13.     *)
  14.         echo -n -e '\E[32mUsage: {stop}'
  15.                 echo ""
  16.         exit 1
  17.         ;;
  18. esac
  19.  
  20. # End $rc_base/init.d/halt
  21.